home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / THREEDOM.ZIP / DEMO / DEMO.W3D next >
Encoding:
Text File  |  1996-08-27  |  1.9 KB  |  70 lines

  1. Threedom world file, version 1.0
  2.  
  3. start position (-21,5,-21) turn angle 45 look angle 0
  4.  
  5. vertices = 16
  6.  
  7. vertex  1 at (-20, 10,  0)
  8. vertex  2 at (  0, 10,  0)
  9. vertex  3 at (  0,  0,  0)
  10. vertex  4 at (-20,  0,  0)
  11. vertex  5 at (-10,  0,  0)
  12. vertex  6 at (-15, -5,  0)
  13. vertex  7 at (-20, -5,  0)
  14. vertex  8 at (  0, 10,-20)
  15. vertex  9 at (  0,  0,-20)
  16. vertex 10 at (  0,  0,-10)
  17. vertex 11 at (  0, -5,-20)
  18. vertex 12 at (  0, -5,-15)
  19. vertex 13 at (-10,  0,-10)
  20. vertex 14 at (-15, -5,-15)
  21. vertex 15 at (-15, -5,-20)
  22. vertex 16 at (-20, -5,-20)
  23.  
  24. textures = 3
  25.  
  26. texture 1 is rock.gif
  27. texture 2 is sand.gif
  28. texture 3 is water.gif
  29.  
  30. polygons = 9
  31.  
  32. # Left rock wall.
  33.  
  34. polygon 1 has 4 vertices 1, 2, 3, 4
  35.     with texture points (0, 0), (512, 0), (512, 256), (0, 256)
  36.     using texture 1 at light level 5
  37. polygon 2 has 4 vertices 4, 5, 6, 7
  38.     with texture points (0, 0), (256, 0), (128, 128), (0, 128)
  39.     using texture 1 at light level 5
  40.  
  41. # Right rock wall.
  42.  
  43. polygon 3 has 4 vertices 2, 8, 9, 3
  44.     with texture points (0, 0), (512, 0), (512, 256), (0, 256)
  45.     using texture 1 at light level 3
  46. polygon 4 has 4 vertices 10, 9, 11, 12
  47.     with texture points (0, 0), (256, 0), (256, 128), (128, 128)
  48.     using texture 1 at light level 3
  49.  
  50. # Sand dune.
  51.  
  52. polygon 5 has 4 vertices 5, 3, 10, 13
  53.     with texture points (0, 0), (128, 0), (128, 128), (0, 128)
  54.     using texture 2 at light level 0
  55. polygon 6 has 4 vertices 5, 13, 14, 6
  56.     with texture points (0, 0), (128, 0), (192, 64), (0, 64)
  57.     using texture 2 at light level 3
  58. polygon 7 has 4 vertices 13, 10, 12, 14
  59.     with texture points (64, 0), (192, 0), (192, 64), (0, 64)
  60.     using texture 2 at light level 5
  61.  
  62. # Water surrounding sand dune.
  63.  
  64. polygon 8 has 4 vertices 7, 6, 15, 16
  65.     with texture points (0, 0), (64, 0), (64, 256), (0, 256)
  66.     using texture 3 at light level 0
  67. polygon 9 has 4 vertices 14, 12, 11, 15
  68.     with texture points (0, 0), (192, 0), (192, 64), (0, 64)
  69.     using texture 3 at light level 0
  70.